package byteCode;
import org.openjdk.jol.info.ClassLayout;

/**
 * @author dengzhiyuan
 * @version 1.0
 * @describe
 * @time 2022/6/26 22:04
 */
public class ObjMemoryStructure {

    public static class Test1{
        int a;
    }

    public static void main(String[] args) {
        Test1 test1 = new Test1();
        System.out.println(ClassLayout.parseInstance(test1).toPrintable());
    }



}
